package com.example.liuhu;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 13057
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Result {
    @Excel(name = "公司名称", width = 22)
    String companyName;
    @Excel(name = "日期", width = 15, format = "yyyy/MM/dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy/MM/dd")
    @DateTimeFormat(pattern="yyyy/MM/dd")
    Date date;
    @Excel(name = "摘要", width = 22)
    String content;
}
